/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.ortn.wildbots.commands;

import edu.wpi.first.wpilibj.KinectStick;

/**
 *
 * @author Stephen
 */
class KinectOperate extends CommandBase {
    
    private KinectStick rightHand;
    private KinectStick leftHand;
    private KinectStick leftLeg;

    public KinectOperate() {
        requires(chassis);
        requires(camMount);
       // requires(launcher); //launcher not yet instantiated
        
        leftHand = new KinectStick(1);
        rightHand = new KinectStick(2);
        leftLeg = new KinectStick(3);
    }

    protected void initialize() {
        
    }

    protected void execute() {
        chassis.tankDrive(leftHand.getY(), rightHand.getY());
       // if (leftLeg.getY() > .5) launcher.fire();
    }

    protected boolean isFinished() {
        return false;
    }

    protected void end() {
    }

    protected void interrupted() {
    }
    
}
